﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using PSE.Framework.Configuration;

namespace PSE.Framework.UI.Application.SmartClient.Configuration
{
    public class LanguageElement : BaseConfigurationElement
    {
        public LanguageElement()
        {
        }

        [ConfigurationProperty("assemblies", IsRequired=true, IsDefaultCollection = true)]
        [ConfigurationCollection(typeof(ClassToInstanceInformation), AddItemName = "assembly")]
        public ConfigurationCollection<ClassToInstanceInformation> Assemblies
        {
            get
            {
                return (ConfigurationCollection<ClassToInstanceInformation>)this["assemblies"];
            }
        }
    }
}
